<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_shipping_area}".
*
* @property int $shipping_area_id 表id 
* @property string $shipping_area_name 配送区域名称
* @property string $shipping_code 物流id
* @property int $shop_id 店铺ID 
* @property string $config 配置首重续重等...序列化存储
* @property int $update_time 更新时间 
* @property int $is_default 是否默认 
*/
class ShippingArea extends BaseModel{

    protected $pk = 'shipping_area_id';
    protected $name = 'shipping_area';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    //protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'shipping_area_id' => '表id',
            'shipping_area_name' => '配送区域名称',
            'shipping_code' => '物流id',
            'update_time' => '更新时间',
            'is_default' => '是否默认',
        ];
    }

}


?>